package com.springsecurity.dao;

import java.util.List;

import com.springsecurity.entities.Role;
import com.springsecurity.entities.User;

public interface UserDAO {
	public List<User> listarTodos();

	public void salvar();

	public void atualizar(User usuario);

	public void remover(User usuario);

	public User buscarPorID(Long id);

	public User login(String username, String password);
	
	public Role buscarPapel(String permissao);

}
